home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcc / v05n05 / dlabl.exe / DLABEL.DOC < prev   
Text File  |  1992-04-06  |  3KB  |  56 lines

  1. DLABEL                  May 1992             William Barden, Jr.
  2.                                                         Page 328
  3. ----------------------------------------------------------------
  4. Purpose:        DLABEL is a BASIC program and batch file to
  5.                 print a floppy disk's contents on a label.
  6.  
  7. Remarks:        From the DOS prompt, enter a command with five
  8.                 parameters, and DLABEL generates a label that
  9.                 lists every file on the disk alphabetically. It
  10.                 helps you specify which label on the sheet is to
  11.                 be printed, allowing you to move around on a
  12.                 sheet of labels until the last one has been 
  13.                 printed. You can also enter a title line on the
  14.                 label, which is centered automatically on the
  15.                 label. DLABEL prints in condensed 7.5-point 
  16.                 type with minimal line spacing to fit as many
  17.                 filenames on a label as possible.
  18.  
  19.                 There are two variations of DLABEL in DLABEL.BAS.
  20.                 One is for LaserJet-compatible printers and one
  21.                 is for IBM-compatible dot matrix printers.
  22.  
  23.                 The trickiest part of using DLABEL is aligning
  24.                 the labels and measurement parameters, so you 
  25.                 might want to start with regular paper stock
  26.                 until you've worked out the fine points.
  27.  
  28. Format:         Assuming that DLABEL.BAS, DLABEL.BAT, and 
  29.                 GW-BASIC or QBASIC are in your path, enter
  30.                 DLABEL at the DOS prompt, followed by four
  31.                 parameters, separated by one or more blanks.
  32.                 Here's an example:
  33.  
  34.                   DLABEL This.is.a.Title a: 1 2 3
  35.  
  36.                 The first parameter after DLABEL is a title for
  37.                 the label. Use any short text string with any 
  38.                 printable characters for a title, but don't use
  39.                 spaces. Instead, separate words with periods.
  40.  
  41.                 The second parameter is the letter of the drive
  42.                 whose contents you want to list. In this example,
  43.                 the drive is A:, but you can have it be any
  44.                 drive, including hard drives. You can also use the
  45.                 path to a subdirectory.
  46.  
  47.                 The third, fourth, and fifth parameters allow you
  48.                 to fine-tune your labels. They are measurements
  49.                 in inches for, respectively, the left margin, the
  50.                 top margin, and the width of the label. In the 
  51.                 example above, the printing occurs in a box one
  52.                 inch from the left edge of the paper and two 
  53.                 inches from the top, and on a label three inches
  54.                 wide.
  55.  
  56.